<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        div{
            width: 400px;
            height: 400px;
            border: 20px solid pink;
            border-image-source: url(./images/border.png);
            border-image-slice: 30 30 30 30;
            border-image-width:30px;
            border-image-repeat:round ;
        }
    </style>
</head>
<body>
    <div>我是程序员</div>
</body>
</html>